package com.atguigu.srb.core.entity.vo;

import com.atguigu.srb.core.entity.Borrower;
import com.atguigu.srb.core.entity.BorrowerAttach;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: Gavin
 * @Date: 7/15/2023 4:48 PM
 */
@Data
@ApiModel("用来给前端返回信息的vo类")
public class BorrowerDetailVo extends Borrower {
    @ApiModelProperty(value = "用户附件资料")
    //扩展属性1 : 用来存放用户的附件资料
    private List<BorrowerAttach> borrowerAttaches;
    @ApiModelProperty(value = "页面显示需要的属性值映射的集合")
    //拓展属性2 : 用来存放用户的字典里面的对应的相关的属性
    private Map<String,String> params = new HashMap<>();
}
